﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BMS.DTO
{
    /// <summary>
    /// 请求角色表添加修改的信息
    /// </summary>
    public class RoleAddRequestDTO
    {
        public int? Id { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        [Required]
        [StringLength(20)]
        public string Name { get; set; }
        /// <summary>
        /// 角色说明
        /// </summary>
        [StringLength(100)]
        public string? Roledescription { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }

        public List<int>? PermissionId { get; set; }

    }
}
